package com.example.check.cooperative.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class CooperativeItem {
    private Integer id;
    private Integer tripId;
    private Integer addedBy;
    private Integer assigneeId;
    private String name;
    private String category;
    private String priority;
    private Boolean checked;
    private String description;
    private String note;
    private Boolean isTemplateItem;
    private String addedByName;
    private String assigneeName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updatedAt;
}

